package com.genius.workflow.xss;

import javax.servlet.DispatcherType;

import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;

//@Configuration
public class FilterConfig {
//	@Bean
//    public FilterRegistrationBean xssFilterRegistration() {
//        FilterRegistrationBean filterRegistrationBean = new FilterRegistrationBean();
//        filterRegistrationBean.setFilter(new ExportFilter());
//        filterRegistrationBean.addUrlPatterns("/*");
//        filterRegistrationBean.setDispatcherTypes(DispatcherType.REQUEST);
//        filterRegistrationBean.setName("xssFilter");
//        return filterRegistrationBean;
//    }
}
